import { http } from "@/utils/http";

export type findByTreeResult = {
  code: number;
  count: number;
  current: number;
  data: Array<any>;
  pages: number;
  size: number;
};
/** 获取列表 */
export const findByTreeId = (data?: object) => {
  return http.request<findByTreeResult>(
    "get",
    "/api-system/dicgroupitems/findByTreeId",
    {
      params: data
    }
  );
};
